package org.frsf.adtg.traduccion;

import java.util.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Contacto {
	
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private String mail;
	
	@Persistent
	private Date date;
	
	public Contacto(String eMail, Date date) {
		this.mail = eMail;
		this.date = date;
	}
	
	public String getMail() {
		return mail;
	}

	public void setMail(String aMail) {
		this.mail = aMail;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

}
